<include file="./Tpl/Admin/header.html" />
<div class="main">
  <div class="main_title"> <img src="/Public/Admin/images/book1.gif"/>&nbsp;&nbsp;商品添加 </div>

    
 
    <div class="main_body">
      <form action="?s=Admin/Goods/add_goods" method="post" enctype="multipart/form-data">
        <input type="hidden" name="id" value="{$goods.id}"/>
        <table cellspacing=0 cellpadding=0 border=0>
          <tr>
            <td>商品名称</td>
            <td><input type="text" name="title" value="{$goods.title}"/></td>
          </tr>
		    <tr>
            <td>商品类别</td>
            <td>
				<select name="cat_id">
				<volist name="list" id="vo">
				<option value="{$vo.id}" <eq name="goods.cat_id" value="$vo.id">selected="selected"</eq>>{$vo.name}</option>
				</volist>
				</select>
			
			
			</td>
          </tr>
          <tr>
            <td>商品市场价格</td>
            <td><input type="text" name="money" value="{$goods.money}"/></td>
          </tr>
		  
		     <tr>
            <td>商品会员价格</td>
            <td><input type="text" name="money_new" value="{$goods.money_new}"/></td>
          </tr>
		    <tr>
            <td>人民币比例</td>
            <td><input type="text" name="rmb_bili" value="{$goods.rmb_bili}"/>%</td>
          </tr>
		    <tr>
            <td>总  库  存</td>
            <td><input type="text" name="num" value="{$goods.num}"/></td>
          </tr>
		  
		  <tr>
            <td>地址</td>
            <td><input type="text" name="address" value="{$goods.address}"/></td>
          </tr>
		  <tr>
            <td>电话</td>
            <td><input type="text" name="tel" value="{$goods.tel}"/></td>
          </tr>
          <tr>
            <td>图片</td>
            <td><input type="file" name="img"/>
              <notempty name="goods.pic"><img src="{$goods.pic}" width="200" height="50" style="vertical-align:middle;"> 
			  <input type="hidden" name="tupian" value="{$goods.pic}">
			  </notempty></td>
          </tr>
        </table>
        <div>
          <input type="submit" value="提交"/>
        </div>
      </form>
    </div>
 
</div>
<include file="./Tpl/Admin/footer.html" />
<script language="javascript" src="/Public/plugin/kindeditor/jquery.tools.min.js"></script>
<script language="javascript" src="/Public/plugin/kindeditor/kindeditor-min.js"></script>
<script language="javascript" src="/Public/plugin/kindeditor/zh_CN.js"></script>

</script>
<script type="text/javascript">
	$(document).ready(function(e) {
        //打开子菜单
			$("#collapseFour").addClass("in");	
    });
</script>
